<script>
export default {
    props: {
        data: {
            type: Object,
            default: () => ({})
        },
        formList: {
            type: Array,
            default: () => []
        }
    },
    setup(props) {
        return () => {
            return props.data.render(props.data, props.formList);
        };
    }
};
</script>
